package org.dromara.product.domain.vo;

import org.dromara.product.domain.KyProducts;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 商品视图对象 ky_products
 *
 * @author kuyu
 * @date 2023-12-27
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = KyProducts.class)
public class KyProductsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private Long id;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String name;

    /**
     * 型号
     */
    @ExcelProperty(value = "型号")
    private String model;

    /**
     * 单位
     */
    @ExcelProperty(value = "单位")
    private String unit;

    /**
     * 品牌
     */
    @ExcelProperty(value = "品牌")
    private String brand;

    /**
     * 供应商
     */
    @ExcelProperty(value = "供应商")
    private String supplyId;

    /**
     * 条码
     */
    @ExcelProperty(value = "条码")
    private String barcode;

    /**
     * 数量
     */
    @ExcelProperty(value = "数量")
    private Long number;

    /**
     * 低值
     */
    @ExcelProperty(value = "低值")
    private Long lowerNumber;

    /**
     * 高值
     */
    @ExcelProperty(value = "高值")
    private Long upperNumber;

    /**
     * 预警开关
     */
    @ExcelProperty(value = "预警开关")
    private String alarmStatus;

    /**
     * 二维码
     */
    @ExcelProperty(value = "二维码")
    private String qrcode;

    @ExcelProperty(value = "二维码")
    private String photos;

}
